<template>
  <div id="app">
    <keep-alive>
      <router-view></router-view>
    </keep-alive>
    <tip></tip>
    <loading></loading>
    <warning-dialog/>
  </div>
</template>

<script>
  import Tip from '@/components/common/Tip'
  import Loading from '@/components/common/Loading'
  import WarningDialog from '@/components/dialog/Warning'
  export default {
    name: 'app',
    components: {
      Tip,  // 文本提示框
      Loading, // loading弹窗
      WarningDialog
    }
  }
</script>

<style>
  #app {
    text-align: center;
  }
</style>
